package com.example.reactordemo.controller;

import com.example.reactordemo.util.Res;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import reactor.core.publisher.Mono;

@RestController
public class TestController {
    @GetMapping
    public Mono test(){
        return Mono.just(Res.successWrapper("这个是成功的！"));
    }

}
